<HTML>
<BODY BGCOLOR=white>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
NAME
     lSet{Type}, lSetPos{Type} - set the field  content  of  type
     {Type}

SYNOPSIS
     #include "cull.h"

     int lSetInt(
          lListElem *element,
          int fieldname,
          int value
     );

     int lSetUlong(
          lListElem *element,
          int fieldname,
          lUlong value
     );

     int lSetString(
          lListElem *element,
          int fieldname,
          lString value
     );

     int lSetList(
          lListElem *element,
          int fieldname,
          lList* value
     );

     int lSetFloat(
          lListElem *element,
          int fieldname,
          lFloat value
     );

     int lSetDouble(
          lListElem *element,
          int fieldname,
          lDouble value
     );

     int lSetChar(
          lListElem *element,
          int fieldname,
          lChar value
     );

     int lSetLong(
          lListElem *element,
          int fieldname,
          lLong value
     );

     int lSetPosInt(
          lListElem *element,
          int position,
          int value
     );

     int lSetPosUlong(
          lListElem *element,
          int position,
          lUlong value
     );

     int lSetPosString(
          lListElem *element,
          int position,
          lString value
     );

     int lSetPosList(
          lListElem *element,
          int position,
          lList* value
     );

     int lSetPosFloat(
          lListElem *element,
          int position,
          lFloat value
     );

     int lSetPosDouble(
          lListElem *element,
          int position,
          lDouble value
     );

     int lSetPosChar(
          lListElem *element,
          int position,
          lChar value
     );

     int lSetPosLong(
          lListElem *element,
          int position,
          lLong value
     );


DESCRIPTION
     int lSet{Type}(element, fieldname, value)
          set the content of the field specified by fieldname  of
          list  element  element.  The types of the field of list
          element element and the type  of  the  delivered  value
          must be equal.

     int lSetPos{Type}(element, position, value)
          set the content of the field specified by  position  of
          list  element  element.  The types of the field of list
          element element and the type  of  the  delivered  value
          must be equal.

RETURN VALUES
     On error -1 is returned, 0 otherwise.

ERRORS
     The following possible values can occur for lerrno.

     LEELEMNULL
          The element pointer specifying the element is NULL.

     LENEGPOS
          The specified position for lSetPos{Type} is negative.

     LEINCTYPE
          The specified types of the function and the field  ele-
          ment are incompatible.

SEE ALSO
     <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B>, <B><A HREF="../htmlman3/list_intro.html">list_intro(3)</A></B>, <B><A HREF="../htmlman3/lGetIn.html">lGetIn(3)</A></B>.

COPYRIGHT
     See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and  permis-
     sions.

















</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
